import axios from 'axios';
import selfNaxios from 'utils/ajaxConfig.js';

export function searchWorkFileList (param, success, error) {
  return selfNaxios({
    method : 'get',
    url : '/project/list',
    params: param
  }, success, error)
}

export function deleteWorkFileList (param, success, error) {
  return selfNaxios({
      method : 'post',
      url : '/project/delete',
      data: param
    }, success, error)
}

export function endWorkFileList (param, success, error) {
  return selfNaxios({
      method : 'post',
      url : '/project/end',
      data: param
    }, success, error)
}